Current detection apparatus and manufacturing method of the same

ABSTRACT

Magnetic sensors each disposed to face each of current paths for each of windings with 2n phases (n is a multiple of three) in an AC rotating machine are included, and when each of a DC component and an AC component in a d-axis sum current and a q-axis sum current obtained by performing a dq-transformation into a two-axis coordinate system on 2n detection currents on the assumption that all current amplitudes of the windings are the same is represented collectively with each of terms expressed by sine functions with different phases, each of the current paths at each of 2n current path arrangement positions is arranged to have a positional relationship where error components are reduced by cancellation among coefficients included at least in one of the term or by cancellation among values of the terms.

TECHNICAL FIELD

The present application relates to a current detection apparatus.

BACKGROUND ART

For example, in a current detection apparatus that uses a magnetic sensor to detect a current of a winding for each phase of an AC rotating machine having two sets of three-phase windings, a current detection error occurs owing to the influence of the disturbance magnetic field from currents of other phases on the magnetic sensor of each winding. Thus, various configurations for reducing the error have been proposed.

In the current detection sensor described in Patent Document 1, a first magnetic sensor and a second magnetic sensor are disposed in such a manner that the current flow direction in a first opposed part and a second opposed part is opposite to each other, and thus the current detection error generated by the disturbance magnetic field is reduced. In the current detection device described in Patent Document 2, a correction current in accordance with the magnitude of the magnetic flux influenced from other phases is caused to flow through a correction conductor, so that a current detection error due to the influence of the magnetic flux of the adjacent other phases is reduced.

CITATION LIST Patent Document

Patent Document 1: Unexamined Japanese Patent Application Publication No. 2018-96795

Patent Document 2: International Publication of Unexamined Application No. WO2017/187813

SUMMARY OF THE INVENTION Technical Problem

The current detection sensor described in Patent Document 1 requires two magnetic sensors to detect a current of one phase. For example, in the case of a motor having two sets of three-phase windings, twelve magnetic sensors are required, so that more space is required in comparison with the case where a current of each phase is detected by one detection device.

Further, in the current detection device described in Patent Document 2, correction conductors for correction currents to flow are required, and thus more space is required and temperature rise due to the heating of the correction conductors is likely to occur in comparison with the case where the correction conductors are not mounted. In order to use parts within the permissible temperature range, the amount of current is needed to be limited at a high temperature in order to suppress temperature rise. In the usage under a thermally harsh environment, output torque is limited earlier owing to the heating of the correction conductors.

In the present application, a technique to overcome the problems described above is disclosed, and an object is to provide a current detection apparatus that requires less space and has a small current detection error.

Solution to Problem

A current detection apparatus disclosed in the present application includes magnetic sensors each disposed to face each of current paths for each of windings with 2n phases (n is a multiple of three) in an AC rotating machine. Each of the magnetic sensors is disposed to face each of the current paths at each of 2n current path arrangement positions that are set so as to have adjacent two of current path arrangement positions at each of n positions, and a detection current i_(ks) that is detected by a magnetic sensor disposed to face a current path of a k-phase is represented by Formula (a) using a current I_(l) of an l-phase (l=1 to 2n) being a l-th phase out of the 2n phases and using a_(l_k) that is a coupling coefficient between a current path of the l-phase and the magnetic sensor disposed to face the current path of the k-phase (k=1 to 2n) being the k-th phase out of the 2n phases.

$\begin{matrix} {i_{ks} = {\sum\limits_{l = 1}^{2n}\;{a_{l\_ k} \times I_{1}\mspace{14mu}\left( {k = {1 \sim {2n}}} \right)}}} & (a) \end{matrix}$ In a d-axis sum current and a q-axis sum current that are currents obtained by performing a dq-transformation into a two-axis coordinate system on 2n detection currents i_(ks) on an assumption that all amplitudes of I_(l) are the same, and when each of a DC component and an AC component in the sum currents is represented collectively with each of terms expressed by sine functions with different phases to one another, the current paths are arranged to have a positional relationship that satisfies at least one condition out of a first condition in which, at least in one of the terms, an amplitude in the one term corresponding to one of error components is reduced by cancellation among coefficients a_(l_k) included in the one term, where l≠k, and a second condition in which the error components are reduced by cancellation among values of the terms of sine functions with different phases.

Being disclosed in the present application, a manufacturing method for a current detection apparatus that has magnetic sensors each disposed to face each of current paths for each of windings with 2n phases (n is a multiple of three) in an AC rotating machine includes the steps of:

setting 2n current path arrangement positions as positions for setting 2n current paths in which each of the magnetic sensors is disposed to face each of the 2n current paths, by setting positions for arranging adjacent two of the current paths at each of n positions;

assigning each of the 2n current paths to which each of the magnetic sensors is disposed to face, at each of the 2n current path arrangement positions that are set, so as to satisfy at least one of conditions,

wherein, in a case where a detection current i_(ks) that is detected by a magnetic sensor disposed to face a current path of a k-phase is represented by Formula (b) using a current I_(l) of an l-phase (l=1 to 2n) being a l-th phase out of the 2n phases and using a_(l_k) that is a coupling coefficient between a current path of the l-phase and the magnetic sensor disposed to face the current path of the k-phase (k=1 to 2n) being the k-th phase out of the 2n phases,

$\begin{matrix} {i_{ks} = {\sum\limits_{l = 1}^{2n}\;{a_{l\_ k} \times I_{1}\mspace{14mu}\left( {k = {1 \sim {2n}}} \right)}}} & (b) \end{matrix}$ and in a d-axis sum current and a q-axis sum current that are currents obtained by performing a dq-transformation into a two-axis coordinate system on 2n detection currents i_(ks) on an assumption that all amplitudes of I_(l) are the same, and when each of a DC component and an AC component in the sum currents is represented collectively with each of terms expressed by sine functions with different phases to one another, the conditions are a first condition in which, at least in one of the terms, an amplitude in the one term corresponding to one of error components is reduced by cancellation among coefficients a_(l_k) included in the one term, where l≠k, and a second condition in which the error components are reduced by cancellation among values of the terms of sine functions with different phases; and

arranging each of the current paths to which each of the magnetic sensors is disposed to face, at the current path arrangement positions assigned in the step of assigning each of the 2n current paths.

Advantageous Effects of Invention

According to the current detection apparatus and the manufacturing method thereof disclosed in the present application, a current detection apparatus that requires less space and has a small detection error can be obtained.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a diagram showing an overall configuration of an electric drive system including a current detection apparatus according to a first embodiment.

FIG. 2 is a diagram showing a relationship between current phases in the current detection apparatus according to the first embodiment.

FIG. 3 is a diagram showing current path arrangement positions in the current detection apparatus according to the first embodiment.

FIG. 4 is a diagram showing an example of a positional relationship between a current path and a magnetic sensor in the current detection apparatus according to the first embodiment.

FIG. 5 is a diagram showing another example of a positional relationship between a current path and a magnetic sensor in the current detection apparatus according to the first embodiment.

FIG. 6 is a diagram showing an example of a positional relationship between adjacent two current paths and two magnetic sensors in the current detection apparatus according to the first embodiment.

FIG. 7 is a diagram showing a table for explaining assignment of current path arrangement in the current detection apparatus according to the first embodiment.

FIG. 8 is a diagram showing another example of a positional relationship between adjacent two current paths and the magnetic sensors in the current detection apparatus according to the first embodiment.

FIG. 9 is a diagram showing still another example of a positional relationship between adjacent two current paths and two magnetic sensors in the current detection apparatus according to the first embodiment.

FIG. 10 is a diagram showing still another example of a positional relationship between adjacent two current paths and two magnetic sensors in the current detection apparatus according to the first embodiment.

FIG. 11 is a diagram showing still another example of a positional relationship between adjacent two current paths and two magnetic sensors in the current detection apparatus according to the first embodiment.

FIG. 12 is a diagram showing a relationship between current phases in a current detection apparatus according to a second embodiment.

FIG. 13 is a diagram showing a table for explaining assignment of current path arrangement in the current detection apparatus according to the second embodiment.

FIG. 14 is a diagram showing a relationship between current phases in a current detection apparatus according to a third embodiment.

FIG. 15 is a diagram showing a table for explaining assignment of current path arrangement in the current detection apparatus according to the third embodiment.

FIG. 16 is a diagram showing an example of a positional relationship between adjacent pairs of a current path and a magnetic sensor in a current detection apparatus according to a fourth embodiment 4.

FIG. 17 is a diagram showing a table for explaining assignment of current path arrangement in the current detection apparatus according to the fourth embodiment.

FIG. 18 is a diagram showing a table for explaining another assignment of current path arrangement in the current detection apparatus according to the fourth embodiment.

FIG. 19 is a diagram showing another example of a positional relationship between adjacent pairs of a current path and a magnetic sensor in the current detection apparatus according to the fourth embodiment.

FIG. 20 is a flowchart for explaining a method of manufacturing a current detection apparatus according to a fifth embodiment.

DESCRIPTION OF EMBODIMENTS First Embodiment

Hereinafter, each embodiment will be described on the basis of the drawings. In each of the drawings, the same or corresponding members and parts will be described with the same reference numerals.

FIG. 1 is a diagram showing an overall configuration of an electric drive system including a current detection apparatus according to a first embodiment. As shown in FIG. 1, the electric drive system includes a smoothing capacitor 3, a first power converter 4 a, a second power converter 4 b, and a controller 6. The power converters are connected to a DC power source 2 serving as a power supply. Further, as a load, an AC rotating machine 1 is connected to the power converters. Each power converter converts a DC voltage from the DC power source 2 into an AC voltage and supplies the AC voltage to the AC rotating machine 1.

The AC rotating machine 1 is a three-phase AC rotating machine that has a first three-phase windings U1, V1, and W1, and a second three-phase windings U2, V2, and W2. The first three-phase windings U1, V1, and W1 and the second three-phase windings U2, V2, and W2 are housed in a stator of the AC rotating machine 1 without being electrically connected to each other. Examples of the three-phase AC rotating machine include a permanent magnet synchronous rotating machine, an induction rotating machine, and a synchronous reluctance rotating machine. The present application can be applied to any kind of AC rotating machine that has windings with 2n phases (n is a multiple of three). In the first embodiment, description will be made assuming that a phase difference between the first three-phase windings and the second three-phase windings is π/6 as shown in FIG. 2 (that is, the phase differences between U1 and U2, V1 and V2, and W1 and W2 are each π/6, the unit is rad (radian), and hereinafter the unit is rad when a phase unit is not stated).

The DC power source 2 outputs a DC voltage Vdc to the power converters 4 a and 4 b. The DC power source 2 may have any configuration, such as a battery, a DC-DC converter, a diode rectifier, and a PWM rectifier, as long as it is a DC power source that outputs a DC voltage. The smoothing capacitor 3 is connected to the DC power source 2 in parallel to suppress fluctuation of a bus bar current, so that a stable DC current can be obtained.

Using an inverter circuit (inverter) and by turning on/off high potential-side switching devices Sup1, Svp1, and Swp1 and low potential-side switching devices Sun1, Svn1, and Swn1 on the basis of on/off signals Qup1 to Qwn1, the power converter 4 a converts the DC voltage Vdc inputted from the DC power source 2 into AC voltages by power conversion to apply the AC voltages to three-phase windings U1, V1, and W1 of the AC rotating machine 1, and supplies currents Iu1, Iv1, and Iw1. Here, in the power converter 4 a, the on/off signals Qup1, Qun1, Qvp1, Qvn1, Qwp1, and Qwn1 are signals to turn on/off Sup1, Sun1, Svp1, Svn1, Swp1, and Swn1, respectively. Hereinafter, it is assumed that, in Qup1 to Qwn1, if the value is one, a signal for turning on a corresponding switch is outputted, and if the value is zero, a signal for turning off a corresponding switch is outputted. As semiconductor switches for Sup1 to Swn1, semiconductor switches such as insulated gate bipolar transistors (IGBT), bipolar transistors, and metal oxide semiconductor (MOS) power transistors, and diodes connected thereto in antiparallel are used.

Using an inverter circuit (inverter) and by turning on/off high potential-side switching devices Sup2, Svp2, and Swp2 and low potential-side switching devices Sun2, Svn2, and Swn2 on the basis of on/off signals Qup2 to Qwn2, the power converter 4 b converts the DC voltage Vdc inputted from the DC power source 2 into AC voltages by power conversion to apply the AC voltages to three-phase windings U2, V2, and W2 of the AC rotating machine 1, and supplies currents Iu2, Iv2, and Iw2. Here, in the power converter 4 b, the on/off signals Qup2, Qun2, Qvp2, Qvn2, Qwp2, and Qwn2 are signals to turn on/off Sup2, Sun2, Svp2, Svn2, Swp2, and Swn2, respectively. As semiconductor switches for Sup2 to Swn2, semiconductor switches such as insulated gate bipolar transistors (IGBT), bipolar transistors, and metal oxide semiconductor (MOS) power transistors, and diodes connected thereto in antiparallel are used.

The current detection apparatus 5 detects values of currents Iu1, Iv1, and Iw1 flowing through three-phase windings U1, V1, and W1 of the AC rotating machine 1 as current detection values i_(u1s), i_(v1s), and i_(w1s), respectively, and detects values of currents Iu2, Iv2, and Iw2 flowing through three-phase windings U2, V2, and W2 of the AC rotating machine 1 as current detection values i_(u2s), i_(v2s), and i_(w2s), respectively. As shown in FIG. 1, the current detection apparatus 5 is provided between the power converter 4 a and the three-phase windings of the AC rotating machine 1, and between the power converter 4 b and the three-phase windings of the AC rotating machine 1, thereby bringing about an effect of enabling to detect currents at all times regardless of the conditions of the switching devices in the power converters 4 a and 4 b. If the current detection apparatus 5 is provided in series with the low potential-side switching devices, the currents are to be detected when the low potential-side switching devices are turned on. Thus, in a case of a high modulation ratio, a situation occurs in which a current for any one of the phases cannot be detected. By limiting the output, it is possible to avoid the situation where the current detection is not possible in a part of the phases. However, the output torque is reduced. That is, the configuration in which the current detection apparatus 5 is disposed in the position indicated in FIG. 1 makes it possible to obtain the maximum output by determining the on/off of the switching devices without considering whether or not the current detection is possible, and thus is suitable for the present embodiment.

Next, the controller 6 that includes a voltage command calculator 7 and an on/off signal generator 8 will be described. The controller 6 is, for example, implemented by a microcomputer that performs arithmetic processing, a read only memory (ROM) that stores data such as program data and fixed-value data, and a random access memory (RAM) in which stored data is updated and rewritten sequentially.

On the basis of a control command inputted from the outside, the voltage command calculator 7 calculates first three-phase voltage commands Vu1, Vv1, and Vw1 that are related to voltages for driving the AC rotating machine 1 and for application to the first three-phase windings U1, V1, and W1, calculates second three-phase voltage commands Vu2, Vv2, and Vw2 that are related to voltages for driving the AC rotating machine 1 and for application to the second three-phase windings U2, V2, and W2, and outputs them to the on/off signal generator 8. As a method for the calculation of the first three-phase voltage commands Vu1, Vv1, and Vw1 and the second three-phase voltage commands Vu2, Vv2, and Vw2 in the voltage command calculator 7, for example, a current feedback control or the like is used. Note that, in order to improve a voltage utilization factor, a known modulation method such as the spatial vector modulation method or the two-phase modulation method may be used.

The on/off signal generator 8 generates a signal for applying the pulse width modulation (PWM modulation) to each of the semiconductor switches of the power converter 4 a and the power converter 4 b. Specifically, on the basis of the first three-phase voltage commands Vu1, Vv1, and Vw1, on/off signals Qup1, Qun1, Qvp1, Qvn1, Qwp1, and Qwn1 having pulse widths in response to the voltage commands Vu1, Vv1, and Vw1 are outputted, and on the basis of the second three-phase voltage commands Vu2, Vv2, and Vw2, on/off signals Qup2, Qun2, Qvp2, Qvn2, Qwp2, and Qwn2 having pulse widths in response to the voltage commands Vu2, Vv2, and Vw2 are outputted.

FIG. 3 is a schematic diagram showing arrangement positions of current detectors in the current detection apparatus 5 as viewed from the direction in which a rotor axis 100 of the AC rotating machine 1 extends. Hereinafter, a position where a current detector is configured by disposing a magnetic sensor to face a current path of each phase is referred to as a current path arrangement position. The current detection apparatus 5 is constituted by six current detectors that are arranged in the first current path arrangement positions Y11, Y12, and Y13 and the second current path arrangement positions Y21, Y22, and Y23. Magnetic sensors included in the current detectors and arranged in the current path arrangement positions Y11, Y12, Y13, Y21, Y22, and Y23 each detect any one of the current detection values i_(u1s), i_(v1s), i_(w1s), i_(u2s), i_(v2s), and i_(w2s). Y11 and Y21, Y12 and Y22, and Y13 and Y23 are arranged to be adjacent to each other. As shown in FIG. 4, in the first current path arrangement position Y11, a first magnetic sensor S11 detects the magnetic field generated from a first current path X11, and i11 is obtained. In the figure, it is assumed that the power converter 4 a or the power converter 4 b is positioned on the back side of the paper plane, and the AC rotating machine 1 is connected thereto on the front side of the paper plane, and thus the current flows in a direction from the power converter to the AC rotating machine as a positive current. Although not shown in the figure, similar to the first current path arrangement position Y11, in the first current path arrangement position Y12, the first magnetic sensor S12 detects the magnetic field generated from a first current path X12, and i12 is obtained, and in the first current path arrangement position Y13, the first magnetic sensor S13 detects the magnetic field generated from a first current path X13, and i13 is obtained. Further, in the second current path arrangement position Y21, the second magnetic sensor S21 detects the magnetic field generated from the second current path X21, and i21 is obtained. In the second current path arrangement position Y22, the second magnetic sensor S22 detects the magnetic field generated from the second current path X22, and i22 is obtained. In the second current path arrangement position Y23, the second magnetic sensor S23 detects the magnetic field generated from the second current path X23, and i23 is obtained.

In FIG. 4, the first current path X11 and the first magnetic sensor S11 are disposed on right and left sides, respectively. For example, as shown in FIG. 5, a configuration may be adopted in which a magnetic field generated from the first current path X11 is collected using a magnetic material 50 and detected by the first magnetic sensor S11. Further, in FIG. 3, the current paths in the first current path arrangement positions and the second current path arrangement positions are arranged in a radial pattern. However, the same effect can be obtained even when the current paths are arranged in a direction such as a front-to-back or back-to-front direction in the paper plane.

In the following description, it will be explained which current path arrangement position is appropriate to arrange each of the current paths for the six phases U1 to W2. In a case where current detection values are normalized assuming that all amplitudes of the currents for all the phases are equal, the current detection values i_(u1s), i_(v1s), i_(w1s), i_(u2s), i_(v2s), and i_(w2s) are given by Formula (1) when an electric angle is θ and a phase angle of a current is β.

$\begin{matrix} {\begin{pmatrix} i_{u\; 1s} \\ i_{v\; 1s} \\ i_{w\; 1s} \\ i_{u\; 2s} \\ i_{v\; 2s} \\ i_{w\; 2s} \end{pmatrix} = {\begin{pmatrix} a_{u\; 1{\_ u}\; 1} & a_{v\; 1{\_ u}\; 1} & a_{w\; 1{\_ u}\; 1} & a_{u\; 2{\_ u}\; 1} & a_{v\; 2{\_ u}\; 1} & a_{w\; 2{\_ u}\; 1} \\ a_{u\; 1{\_ v}\; 1} & a_{v\; 1{\_ v}\; 1} & a_{w\; 1{\_ v}\; 1} & a_{u\; 2{\_ v}\; 1} & a_{v\; 2{\_ v}\; 1} & a_{w\; 2{\_ v}\; 1} \\ a_{u\; 1{\_ w}\; 1} & a_{v\; 1{\_ w}\; 1} & a_{w\; 1{\_ w}\; 1} & a_{u\; 2{\_ w}\; 1} & a_{v\; 2{\_ w}\; 1} & a_{w\; 2{\_ w}\; 1} \\ a_{u\; 1{\_ u}\; 2} & a_{v\; 1{\_ u}\; 2} & a_{w\; 1{\_ u}\; 2} & a_{u\; 2{\_ u}\; 2} & a_{u\; 2{\_ u}\; 2} & a_{w\; 2{\_ u}\; 2} \\ a_{u\; 1{\_ v}\; 2} & a_{v\; 1{\_ v}\; 2} & a_{w\; 1{\_ v}\; 2} & a_{u\; 2{\_ v}\; 2} & a_{u\; 2{\_ v}\; 2} & a_{w\; 2{\_ v}\; 2} \\ a_{u\; 1{\_ w}\; 2} & a_{v\; 1{\_ w}\; 2} & a_{w\; 1{\_ w}\; 2} & a_{u\; 2{\_ w}\; 2} & a_{u\; 2{\_ w}\; 2} & a_{w\; 2{\_ w}\; 2} \end{pmatrix} \times \begin{pmatrix} {\cos\left( {\theta + \beta} \right)} \\ {\cos\left( {\theta + \beta - {\frac{2}{3}\pi}} \right)} \\ {\cos\left( {\theta + \beta + {\frac{2}{3}\pi}} \right)} \\ {\cos\left( {\theta + \beta - \frac{\pi}{6}} \right)} \\ {\cos\left( {\theta + \beta - {\frac{5}{6}\pi}} \right)} \\ {\cos\left( {\theta + \beta + \frac{\pi}{2}} \right)} \end{pmatrix}}} & (1) \end{matrix}$

Here, a_(lj_ki) (k, l: u, v, w, and i, j: 1, 2) represents a ratio at which a magnetic sensor disposed to face the current path ki senses the magnetic field due to the current in the current path 1 j. That is, it is a coupling coefficient. For example, a_(u1_u1) represents the ratio at which the magnetic sensor disposed to face the current path U1 senses the magnetic field due to the current in the current path U1. That is, it is the coupling coefficient between the magnetic sensor and the current path of the current intended to be detected. Further, a_(v1_u1) represents the ratio at which the magnetic sensor disposed to face the current path U1 senses the magnetic field due to the current in the current path V1. That is, it is the coupling coefficient between the magnetic sensor disposed to face the current path U1 and the current path V1. In this way, in the coefficient a_(lj_ki), if ki and lj are the same, the coefficient corresponds to that with regard to the current intended to be detected, and if ki and lj are not the same, the coefficient corresponds to that with regard to a noise component.

The three-phase currents that are detected can be converted into a dq-axis currents on the basis of Formula (2) and Formula (3).

$\begin{matrix} {\begin{pmatrix} i_{d\; 1} \\ i_{q\; 1} \end{pmatrix} = {\sqrt{\frac{2}{3}}\begin{pmatrix} {\sin\left( {\theta + \frac{\pi}{2}} \right)} & {\sin\left( {\theta - \frac{\pi}{6}} \right)} & {\sin\left( {\theta - {\frac{5}{6}\pi}} \right)} \\ {{- \sin}\mspace{14mu}\theta} & {- {\sin\left( {\theta - {\frac{2}{3}\pi}} \right)}} & {- {\sin\left( {\theta + {\frac{2}{3}\pi}} \right)}} \end{pmatrix}\begin{pmatrix} i_{u\; 1s} \\ i_{v\; 1s} \\ i_{w\; 1s} \end{pmatrix}}} & (2) \\ {\begin{pmatrix} i_{d\; 2} \\ i_{q\; 2} \end{pmatrix} = {\sqrt{\frac{2}{3}}\begin{pmatrix} {- {\sin\left( {\theta - {\frac{2}{3}\pi}} \right)}} & {- {\sin\left( {\theta + {\frac{2}{3}\pi}} \right)}} & {{- \sin}\mspace{14mu}\theta} \\ {- {\sin\left( {\theta - \frac{\pi}{6}} \right)}} & {- {\sin\left( {\theta - {\frac{5}{6}\pi}} \right)}} & {- {\sin\left( {\theta + \frac{\pi}{2}} \right)}} \end{pmatrix}\begin{pmatrix} i_{u\; 2s} \\ i_{v\; 2s} \\ i_{w\; 2s} \end{pmatrix}}} & (3) \end{matrix}$

Using the fact that the differential currents (I_(d1)−I_(d2) and I_(q1)−I_(q2)) are substantially small as compared to the sum currents (I_(d1)+I_(d2)=I_(d), and I_(q1)+I_(q2)=I_(q)), an output torque is given by Formula (4). Thus, by decreasing a detection error included in the sum currents, the output torque accuracy can be improved or an output torque ripple can be reduced.

$\begin{matrix} {T = {{P_{m}\left\{ {{\left( {I_{q\; 1} + I_{q\; 2}} \right)\varphi} + {\left( {L_{d} - L_{q}} \right)\left( {{I_{d\; 1}I_{q\; 1}} + {I_{d\; 2}I_{q\; 2}}} \right)}} \right\}} \approx {P_{m}\left\{ {{\left( {I_{q\; 1} + I_{q\; 2}} \right)\varphi} + {\frac{1}{2}\left( {L_{d} - L_{q}} \right)\left( {I_{d\; 1} + I_{d\; 2}} \right)\left( {I_{q\; 1} + I_{q\; 2}} \right)}} \right\}}}} & (4) \end{matrix}$ Here, Pm is the number of pairs of poles, ϕ is a magnetic flux of the rotor, L_(d) and L_(q) are a d-axis inductance and a q-axis inductance, respectively.

The d-axis sum current I_(d) is expressed by the sum of a DC component I_(d_sum_ac) and an AC component I_(d_sum_ac), and the q-axis sum current I_(q) is expressed by the sum of a DC component I_(q_sum_dc) and an AC component I_(q_sum_ac), and these components are given by respective formulas (5) to (8).

$\begin{matrix} {I_{{d\_{sum}}{\_{dc}}} = {\frac{1}{\sqrt{6}}\left\{ {{\left( {a_{u\; 1{\_ u}\; 1} + a_{v\; 1{\_ v}\; 1} + a_{w\; 1{\_ w}\; 1} + a_{u\; 2{\_ u}\; 2} + a_{v\; 2{\_ v}\; 2} + a_{w\; 2{\_ w}\; 2}} \right){\sin\left( {\beta + \frac{\pi}{2}} \right)}} + {\left( {a_{u\; 1{\_ w}\; 2} + a_{v\; 1{\_ u}\; 2} + a_{w\; 1{\_ v}\; 2} - a_{w\; 2{\_ u}\; 1} - a_{u\; 2{\_ v}\; 1} - a_{v\; 2{\_ w}\; 1}} \right)\sin\;\beta} + {\left( {a_{u\; 1{\_ u}\; 2} + a_{v\; 1{\_ v}\; 2} + a_{w\; 1{\_ w}\; 2} - a_{v\; 2{\_ u}\; 1} - a_{w\; 2{\_ v}\; 1} - a_{u\; 2{\_ w}\; 1}} \right){\sin\left( {\beta + {\frac{2}{3}\pi}} \right)}} + {\left( {a_{u\; 1{\_ v}\; 2} + a_{v\; 1{\_ w}\; 2} + a_{w\; 1{\_ u}\; 2} - a_{u\; 2{\_ u}\; 1} - a_{v\; 2{\_ v}\; 1} - a_{w\; 2{\_ w}\; 1}} \right){\sin\left( {\beta + {\frac{4}{3}\pi}} \right)}} - {\left( {a_{u\; 1{\_ v}\; 1} + a_{v\; 1{\_ w}\; 1} + a_{w\; 1{\_ u}\; 1} + a_{u\; 2{\_ v}\; 2} + a_{v\; 2{\_ w}\; 2} + a_{w\; 2{\_ u}\; 2}} \right){\sin\left( {\beta + \frac{\pi}{6}} \right)}} - {\left( {a_{u\; 1{\_ w}\; 1} + a_{v\; 1{\_ u}\; 1} + a_{w\; 1{\_ v}\; 1} + a_{u\; 2{\_ w}\; 2} + a_{v\; 2{\_ u}\; 2} + a_{w\; 2{\_ v}\; 2}} \right){\sin\left( {\beta + {\frac{5}{6}\pi}} \right)}}} \right\}}} & (5) \\ {I_{{d\_{sum}}{\_{ac}}} = {\frac{1}{\sqrt{6}}\left\{ {{\left( {a_{u\; 1{\_ u}\; 1} - a_{w\; 2{\_ w}\; 2}} \right){\sin\left( {{2\theta} + \beta + \frac{\pi}{2}} \right)}} + {\left( {a_{v\; 1{\_ v}\; 1} - a_{u\; 2{\_ u}\; 2}} \right){\sin\left( {{2\theta} + \beta + {\frac{7}{6}\pi}} \right)}} + {\left( {a_{w\; 1{\_ w}\; 1} - a_{v\; 2{\_ v}\; 2}} \right){\sin\left( {{2\theta} + \beta + {\frac{11}{6}\pi}} \right)}} - {\left( {a_{u\; 1{\_ w}\; 2} + a_{v\; 1{\_ v}\; 2} + a_{w\; 1{\_ u}\; 2} + a_{w\; 2{\_ u}\; 1} + a_{v\; 2{\_ v}\; 1} + a_{u\; 2{\_ w}\; 1}} \right){\sin\left( {{2\theta} + \beta} \right)}} - {\left( {a_{u\; 1{\_ v}\; 2} + a_{v\; 1{\_ u}\; 2} + a_{w\; 1{\_ w}\; 2} + a_{v\; 2{\_ u}\; 1} + a_{u\; 2{\_ v}\; 1} + a_{w\; 2{\_ w}\; 1}} \right){\sin\left( {{2\theta} + {\beta\frac{2}{3}\pi}} \right)}} - {\left( {a_{u\; 1{\_ u}\; 2} + a_{v\; 1{\_ w}\; 2} + a_{w\; 1{\_ v}\; 2} + a_{u\; 2{\_ u}\; 1} + a_{w\; 2{\_ v}\; 1} + a_{v\; 2{\_ w}\; 1}} \right){\sin\left( {{2\theta} + \beta + {\frac{4}{3}\pi}} \right)}} + {\left( {a_{v\; 1{\_ w}\; 1} + a_{w\; 1{\_ v}\; 1} - a_{u\; 2{\_ v}\; 2} - a_{v\; 2{\_ u}\; 2}} \right){\sin\left( {{2\theta} + \beta + \frac{\pi}{2}} \right)}} + {\left( {a_{w\; 1{\_ u}\; 1} + a_{u\; 1{\_ w}\; 1} - a_{v\; 2{\_ w}\; 2} - a_{w\; 2{\_ v}\; 2}} \right){\sin\left( {{2\theta} + \beta + {\frac{7}{6}\pi}} \right)}} + {\left( {a_{u\; 1{\_ v}\; 1} + a_{v\; 1{\_ u}\; 1} - a_{w\; 2{\_ u}\; 2} - a_{u\; 2{\_ w}\; 2}} \right){\sin\left( {{2\theta} + \beta + {\frac{11}{6}\pi}} \right)}}} \right\}}} & (6) \\ {I_{{q\_{sum}}{\_{dc}}} = {\frac{1}{\sqrt{6}}\left\{ {{\left( {a_{u\; 1{\_ u}\; 1} + a_{v\; 1{\_ v}\; 1} + a_{w\; 1{\_ w}\; 1} + a_{u\; 2{\_ u}\; 2} + a_{v\; 2{\_ v}\; 2} + a_{w\; 2{\_ w}\; 2}} \right)\sin\;\beta} - {\left( {a_{u\; 1{\_ w}\; 2} + a_{v\; 1{\_ u}\; 2} + a_{w\; 1{\_ v}\; 2} - a_{w\; 2{\_ u}\; 1} - a_{u\; 2{\_ v}\; 1} - a_{v\; 2{\_ w}\; 1}} \right){\sin\left( {\beta + \frac{\pi}{2}} \right)}} - {\left( {a_{u\; 1{\_ u}\; 2} + a_{v\; 1{\_ v}\; 2} + a_{w\; 1{\_ w}\; 2} - a_{v\; 2{\_ u}\; 1} - a_{w\; 2{\_ v}\; 1} - a_{u\; 2{\_ w}\; 1}} \right){\sin\left( {\beta + {\frac{7}{6}\pi}} \right)}} - {\left( {a_{u\; 1{\_ v}\; 2} + a_{v\; 1{\_ w}\; 2} + a_{w\; 1{\_ u}\; 2} - a_{u\; 2{\_ u}\; 1} - a_{v\; 2{\_ v}\; 1} - a_{w\; 2{\_ w}\; 1}} \right){\sin\left( {\beta + {\frac{11}{6}\pi}} \right)}} + {\left( {a_{u\; 1{\_ v}\; 1} + a_{v\; 1{\_ w}\; 1} + a_{w\; 1{\_ u}\; 1} + a_{u\; 2{\_ v}\; 2} + a_{v\; 2{\_ w}\; 2} + a_{w\; 2{\_ u}\; 2}} \right){\sin\left( {\beta + {\frac{2}{3}\pi}} \right)}} + {\left( {a_{u\; 1{\_ w}\; 1} + a_{w\; 1{\_ v}\; 1} + a_{v\; 1{\_ u}\; 1} + a_{u\; 2{\_ w}\; 2} + a_{w\; 2{\_ u}\; 2} + a_{v\; 2{\_ v}\; 2}} \right){\sin\left( {\beta + {\frac{4}{3}\pi}} \right)}}} \right\}}} & (7) \\ {I_{{q\_{sum}}{\_{ac}}} = {\frac{1}{\sqrt{6}}\left\{ {{{- \left( {a_{u\; 1{\_ u}\; 1} - a_{w\; 2{\_ w}\; 2}} \right)}{\sin\left( {{2\theta} + \beta} \right)}} - {\left( {a_{v\; 1{\_ v}\; 1} - a_{u\; 2{\_ u}\; 2}} \right){\sin\left( {{2\theta} + \beta + {\frac{2}{3}\pi}} \right)}} - {\left( {a_{w\; 1{\_ w}\; 1} - a_{v\; 2{\_ v}\; 2}} \right){\sin\left( {{2\theta} + \beta + {\frac{4}{3}\pi}} \right)}} - {\left( {a_{u\; 1{\_ w}\; 2} + a_{v\; 1{\_ v}\; 2} + a_{w\; 1{\_ u}\; 2} + a_{w\; 2{\_ u}\; 1} + a_{v\; 2{\_ v}\; 1} + a_{u\; 2{\_ w}\; 1}} \right){\sin\left( {{2\theta} + \beta + \frac{\pi}{2}} \right)}} - {\left( {a_{u\; 1{\_ v}\; 2} + a_{v\; 1{\_ u}\; 2} + a_{w\; 1{\_ w}\; 2} + a_{v\; 2{\_ u}\; 1} + a_{u\; 2{\_ v}\; 1} + a_{w\; 2{\_ w}\; 1}} \right){\sin\left( {{2\theta} + \beta + {\frac{7}{6}\pi}} \right)}} - {\left( {a_{u\; 1{\_ u}\; 2} + a_{v\; 1{\_ w}\; 2} + a_{w\; 1{\_ v}\; 2} + a_{u\; 2{\_ u}\; 1} + a_{w\; 2{\_ v}\; 1} + a_{v\; 2{\_ w}\; 1}} \right){\sin\left( {{2\theta} + \beta + {\frac{11}{6}\pi}} \right)}} - {\left( {a_{v\; 1{\_ w}\; 1} + a_{w\; 1{\_ v}\; 1} - a_{u\; 2{\_ v}\; 2} - a_{v\; 2{\_ u}\; 2}} \right){\sin\left( {{2\theta} + \beta} \right)}} - {\left( {a_{w\; 1{\_ u}\; 1} + a_{u\; 1{\_ w}\; 1} - a_{v\; 2{\_ w}\; 2} - a_{w\; 2{\_ v}\; 2}} \right){\sin\left( {{2\theta} + \beta + {\frac{2}{3}\pi}} \right)}} - {\left( {a_{u\; 1{\_ v}\; 1} + a_{v\; 1{\_ u}\; 1} - a_{w\; 2{\_ u}\; 2} - a_{u\; 2{\_ w}\; 2}} \right){\sin\left( {{2\theta} + \beta + {\frac{4}{3}\pi}} \right)}}} \right\}}} & (8) \end{matrix}$

In each formula, when a part expressed by a sine function with the same phase is regarded as a term, terms from the second to the sixth in Formulas (5) and (7) correspond to error components. In the second term to the fourth term, their phases are different by (⅔)π in order. If the amplitude of the sine function in each term is equal, the sum from the second term to the fourth term is zero (Condition (B) described later: terms from the second term to the fourth term are cancelled out). That is, in order to make the error components zero in Formulas (5) and (7), the amplitudes from the second term to the fourth term need to be equal, and the amplitudes of the fifth term and the sixth term need to be zero (Condition (A) described later: an amplitude of a term corresponding to an error component becomes zero by coefficients being cancelled out). In Formulas (6) and (8), terms from the first to the ninth correspond to error components. In the first term to the third term, their phases are different by (⅔)π in order. If the amplitude of each term is equal, the sum from the first term to the third term is zero (Condition (B) described later). In the fourth term to the sixth term, their phases are different by (⅔)π in order. If the amplitude of each term is equal, the sum from the fourth term to the sixth term is zero (Condition (B) described later). In the seventh term to the ninth term, their phases are different by (⅔)π in order. If the amplitude of each term is equal, the sum from the seventh term to the ninth term is zero (Condition (B) described later). That is, in order to make the error components zero in Formula (6) and Formula (8), the requirement is that the amplitudes from the first term to the third term are equal, the amplitudes from the fourth term to the sixth term are equal, and the amplitudes from the seventh term to the ninth term are equal.

FIG. 6 is a schematic diagram showing an arrangement of current paths and magnetic sensors in the first current path arrangement position Y12 and the second current path arrangement position Y22 that are adjacent to each other. The first current path X12, the first magnetic sensor S12, the second magnetic sensor S22, and the second current path X22 are arranged in this order. That is, in the adjacent two current paths, each of magnetic sensors disposed to face each of the current paths is arranged between the two current paths. The direction of generated magnetic field due to the first current path X12 at the position of the first magnetic sensor S12 is downward, and thus the detection axis is P12. The direction of generated magnetic field due to the second current path X22 at the position of the second magnetic sensor S22 is upward, and thus the detection axis is P22. The direction of generated magnetic field due to the second current path X22 at the position of the first magnetic sensor S12 is upward, and thus the direction is opposite to the detection axis P12. The direction of generated magnetic field due to the first current path X12 at the position of the second magnetic sensor S22 is downward, and thus the direction is opposite to the detection axis P22. Therefore, in any of the first magnetic sensors S11 to S13 and the second magnetic sensors S21 to S23, the noise component is a component in the opposite direction to the component that is intended to be obtained.

When the amplitudes in the fifth term and sixth term in Formula (5) are examined, the amplitude of each term is the sum of the noise components between the first three-phase windings and between the second three-phase windings. Thus, if current detectors for the first three-phase windings are not disposed next to each other and current detectors for the second three-phase windings are not disposed next to each other, the amplitudes can be made zero. Since a noise component given to the magnetic sensor for the U1-phase by the current path of the W2-phase is subtracted from a noise component given to the magnetic sensor for the W2-phase by the current path of the U1-phase, the coefficients of the second term are cancelled out, thereby making the amplitude zero even if each noise component exist. In order for the amplitudes of the third and fourth terms to be equal to the amplitude of the second term, they need to be zero.

As described above, by normalizing current detection values on the assumption that n is a multiple of three and all amplitudes of the currents for all the phases are equal, the d-axis sum current and the q-axis sum current based on the dq-transformed current can be represented collectively with each of terms of sine functions with different phases to one another by putting together terms expressed by sine functions with the same phase. In the case of a 2n-phase AC rotating machine (for example, n equals three) in which two sets of three-phase windings whose phase difference is π/6 as shown in FIG. 2 are included, the d-axis sum current and the q-axis sum current can be represented by Formulas (5) to (8). Using cancellation among the coefficients a_(l_k) (l≠k) that have effective values within a term of sine function with the same phase or cancellation among values of terms of sine functions with different phases, and in such a manner that error terms in the dq-transformed current satisfy at least one of the following conditions (A) and (B), each of 2n current paths where each of magnetic sensors is disposed to face each of the current paths is assigned to each of 2n current path arrangement positions that are set so as to have adjacent two of the current path arrangement positions at each of n positions. Thus a current detection apparatus with a small detection error can be obtained. That is, since it is not necessary to dispose each magnetic sensor far away from other phases, a current detection apparatus with a small error that does not require much space and additional members such as a correction conductor or a magnetic shield can be obtained.

(A) At least in a term, an amplitude of the term corresponding to an error component is reduced by coefficients being cancelled out, the coefficients contained in the term.

(B) Error components are reduced by cancellation among values of terms of sine functions with different phases.

Hereinafter, an arrangement of a current detector that satisfies any one of the conditions (A) and (B) will be described. That is, a specific arrangement of a current path of each phase will be described. As shown in FIG. 7, six combinations in which current phases are assigned to the first current paths X11 to X13 and the second current paths X21 to X23 are considered. When V1 phase is to be assigned to X11, U, V, and W need to be replaced by V, W, and U in FIG. 7, respectively. When W1 phase is to be assigned to X11, U, V, and W need to be replaced by W, U and V in FIG. 7, respectively.

In the following description, the coefficients in Formula (1) are normalized as shown in Formula (9). a _(u1_u1) =a _(v1_v1) =a _(w1_w1) =a _(u2_u2) =a _(v2_v2) =a _(w2_w2)=1  (9)

In the case of the combination C3, for the pairs of the current paths arranged in the adjacent current path arrangement positions (X11, X21), (X12, X22), and (X13, X23), coefficients are given by Formula (10). a _(u1_v2) =a _(v2_u1) =a _(v1_w2) =a _(w2_v1) =a _(w1_u2) =a _(u2_w1) =k ₁  (10)

Since other coefficients except for those in Formulas (9) and (10) are quite smaller than one or k₁, they can be regarded as zero. The amplitudes in the third term and the fourth term in Formula (5) cannot be made zero. However, the amplitudes in the fourth term to the sixth term in Formula (6) can be made equal, and the three terms from the fourth term to the sixth term each having a different phase are cancelled out, so that the values of these error terms become zero as a whole from the fourth term to the sixth term. That is, the condition (B) is satisfied. Accordingly, the output torque ripple can be reduced, although accuracy of the output torque cannot be achieved. The same applies to the combination C5. Note that, the adjacent current path arrangement positions need to be close to each other in such a way that the value of the coefficient a_(l_k) between two non-adjacent current paths is negligible with respect to the value of the coefficient a_(l_k) between adjacent two current paths. Specifically, the distance between the adjacent two current paths needs to be not greater than 0.2 times the distance between non-adjacent current paths that is the shortest.

In the case of the combination C2, coefficients in the pairs of the current paths arranged at the adjacent current path arrangement positions are given by Formula (11). a _(u1_w2) =a _(w2_u1) =a _(v1_v2) =a _(v2_v1) =a _(w1_u2) =a _(u2_w1) =k ₁  (11) Since other coefficients except for those in Formulas (9) and (11) are quite smaller than one or ki, they can be regarded as zero. The amplitudes from fourth term to the sixth term in Formula (6) cannot be made equal. However, the amplitudes in the third term and the fourth term in Formula (5) can be made zero. That is, the condition (A) is satisfied. Accordingly, although the output torque ripple cannot be reduced, accuracy of the output torque can be achieved. The same applies to the combinations C4 and C6.

Further, in the case of the combination C1, coefficients in the pairs of the current paths arranged at the adjacent current path arrangement positions are given by Formula (12). a _(u1_w2) =a _(w2_u1) =a _(v1_u2) =a _(u2_v1) =a _(w1_v2) =a _(v2_w1) =k ₁  (12) Since other coefficients except for those in Formulas (9) and (12) are quite smaller than one or k₁, they can be regarded as zero. The amplitudes from third term and the fourth term in Formula (5) can be made zero. In addition, the amplitudes from the fourth term to the sixth term in Formula (6) can be made equal. That is to say, the conditions (A) and (B) are satisfied. Accordingly, accuracy of the output torque can be achieved while the output torque ripple can be reduced. For example, in the case where the current detection apparatus according to the present embodiment is used for a controlled object such as a generator motor for a vehicle where accuracy of the output torque is required, one of the combinations C1, C2, C4, and C6 may be selected. In the case where the current detection apparatus according to the present embodiment is used for a controlled object such as a rotating machine for an electric power steering system where the output torque ripple needs to be reduced, one of the combinations C1, C3, and C5 may be selected.

In other words, phases of currents flowing in the first current paths X11 to X1 n are made to be advanced by 2π/n in order and phases of currents flowing in the second current paths X21 to X2 n are made to be advanced by 2π/n in order, and thus a new advantageous effect of the reduction of the output torque ripple can be obtained. Further, phases of currents flowing in the first current paths X11 to X1 n are made to be advanced by 2π/n in order and phases of currents flowing in the second current paths X21 to X2 n are made to be delayed by 2π/n in order, and thus a new advantageous effect of the improvement in the accuracy of the output torque can be obtained. Furthermore, when k is a natural number from 1 to n, and the phase difference between the currents in the first current path X1 k and the second current path X2 k is made to be π/2 (C1 in FIG. 7), a new advantageous effect of both the reduction of the output torque ripple and the improvement of accuracy of the output torque can be obtained.

Note that, although the AC rotating machine including two sets of three-phase windings is described here, the formula representing error components need to consist of three sine functions whose phases are different by (⅔)π in order, and thus the same advantageous effect can be obtained in the case of two sets of n-phase windings when n is a multiple of three.

In FIG. 6, the direction of the magnetic field generated from the second current path X22 in the detection axis P12 of the first magnetic sensor S12 for the magnetic field generated from the first current path X12 and the direction of the magnetic field generated from the first current path X12 in the detection axis P22 of the second magnetic sensor S22 for the magnetic field generated from the second current path X22 are both opposite to the direction of their detection axis. With the arrangement described above, the improvement of accuracy of the output torque in addition to the reduction of the torque ripple can be achieved using the fact that, in the second term of Formula (5), the coefficient for each of the three pairs (U1 and W2, V1 and U2, W1 and V2) appears twice with a different sign to each other.

The closest current path of one phase to a magnetic sensor belongs to a current detector of the one phase, and the second closest current path of another phase belongs to the adjacent current detector. Thus, a new advantageous effect can be obtained as follows. That is, influence from the current paths of the remaining four phases can be relatively made small, and out of the 36 coefficients of a_(u1_u1) to a_(w2_w2) in Formula (1), the target to be considered for reducing the current detection error can be limited to 12.

Although the case in the arrangement shown in FIG. 6 is described so far, in the first current path arrangement position Y12 and the second current path arrangement position Y22 adjacent to each other, the first magnetic sensor S12, the first current path X12, the first magnetic sensor S12, the second current path X22, and the second magnetic sensor S22 may be arranged in this order as shown in FIG. 8. That is, the adjacent two current paths are arranged between magnetic sensors each disposed to face each current path. In this case, since the direction of the magnetic field generated from the first current path X12 at the position of the first magnetic sensor S12 is upward, the detection axis is P12. Since the direction of the magnetic field generated from the second current path X22 at the position of the second magnetic sensor S22 is downward, the detection axis is P22. Since the direction of the magnetic field generated from the second current path X22 at the position of the first magnetic sensor S12 is upward, the direction is the same as the direction of the detection axis P12. Since the direction of the magnetic field generated from the first current path X12 at the position of the second magnetic sensor S22 is downward, the direction is the same as the direction of the detection axis P22. Similarly, Formulas (5) to (8) are established in this case. Thus, the direction of the magnetic field generated from the second current path X22 in the detection axis P12 of the first magnetic sensor S12 for the magnetic field generated from the first current path X12 and the direction of the magnetic field generated from the first current path X12 in the detection axis P22 of the second magnetic sensor S22 for the magnetic field generated from the second current path X22 are both the same as the direction of their detection axis. With the arrangement made described above, the improvement of accuracy of the output torque in addition to the reduction of the torque ripple can be achieved using the fact that, in the second term of Formula (5), the coefficient for each of the three pairs (U1 and W2, V1 and U2, W1 and V2) appears twice with a different sign to each other. It is noted that, by arranging the magnetic sensors and the current paths side by side on a straight line as shown in FIG. 6 and FIG. 8, it is also possible to obtain an advantageous effect of reducing the size of the current detection apparatus in the front-to-back direction of the paper.

In addition, although the magnetic sensors and the current paths are arranged side by side on the straight line in FIG. 6 and FIG. 8, when they are arranged side by side on separate straight lines as shown in FIG. 9, the same effect can be obtained. That is, in the adjacent two current paths, the two current paths are arranged on the same plane, and the magnetic sensors each facing each current path are arranged together on the other same plane, so that ease of installation can be enhanced.

Note that, as shown in FIG. 10 or FIG. 11, regarding the connection direction between the AC rotating machine 1 and the power converter 4 a or the power converter 4 b, even if the connection direction of the first current path X12 is reversed to that of the second current path X22, it is possible to obtain the same effect by appropriately arranging the six phases. However, as shown in FIG. 6, FIG. 8, and FIG. 9, regarding the connection direction between the AC rotating machine 1 and the power converter 4 a or the power converter 4 b, it is a matter of course that, if the first current path X12 and the second current path X22 are the same in the connection direction, the wiring is easier to be disposed and this can contribute to downsizing. In the arrangement for the current path and the magnetic sensor at adjacent current path arrangement positions, a plurality of types of arrangements may be used in combination.

The magnetic field generated by the rotor of the AC rotating machine and transmitted through the shaft being the axle of the rotor is a disturbance to the magnetic sensor. However, the current path arrangement positions are set on the same circle whose center is the rotor axis 100 as shown in FIG. 3, so that disturbance magnetic field at each of the magnetic sensors can be made equal. Thus, in-phase noise can be cancelled out on the dq-axis, and thereby the influence on the output torque can be reduced. Note that, it is not a requirement that the center of the circle coincides with the rotor axis 100. For example, if the leak of the magnetic field from the shaft at the positions where magnetic sensors are disposed is small, the influence of the noise caused by the leak of the magnetic field from the shaft is small even if the center of the circle does not coincide with the rotor axis.

In the present embodiment, although the method is described by which the current detection errors can be reduced to zero, needless to say that current detection errors need to be at least those within an extent to which the required performance is satisfied. When the detection errors of the magnetic sensors disposed in the first current arrangement positions are ΔI_(d1) and ΔI_(q1), and the true values are I_(d1r) and I_(q1r), and when the detection errors of the magnetic sensors disposed in the second current arrangement positions are ΔI_(d2) and ΔI_(d2), and the true values are I_(d2r) and I_(q2r), the output torque is expressed by Formula (13). T=P _(m)[(I _(q1r) +I _(q2r))φ+½(L _(d) −L _(q))(I _(d1r) +I _(dr2))(I _(q1r) +I _(q2r))+(ΔI _(q1) +ΔI _(q2))φ+½(L _(d) −L _(q)){(ΔI _(d1) +ΔI _(d2))(I _(q1r) +I _(q2r))+(I _(dr1) +I _(dr2))(ΔI _(q1) +ΔI _(q2))}]  (13) The error component of the output torque Terr is given by Formula (14) T _(err) =P _(m)[(ΔI _(q1) +ΔI _(q2))φ+½(L _(d) −L _(q)){(ΔI _(d1) +ΔI _(d2))(I _(q1r) +I _(q2r))+(I _(d1r) +I _(dr2))(ΔI _(q1) +ΔI _(q2))}]  (14) In order for the error component expressed in Formula (14) to be reduced within the requirements for the accuracy of the output torque or the torque ripple, following Formula (15) or Formula (16) needs to be satisfied. |ΔI _(d1) +ΔI _(d2) |=|ΔI _(d)|<δ_(d)  (15) |ΔI _(q1) +ΔI _(q2) |=|ΔI _(q)|<δ_(q)  (16) Here, ΔI_(d)=ΔI_(d1)+ΔI_(d2), ΔI_(q)=ΔI_(q1)+ΔI_(q2), and ΔI_(d) represents the error component of the d-axis sum current, and ΔI_(q) represents the error component of the q-axis sum current.

For example, in an AC rotating machine without saliency, where L_(d)=L_(q), the error component of the output torque is expressed by Formula (17), and thus when an upper limit value of the error of the output torque is T_(lim), δ_(q) needs to be given by Formula (18). In the same way, an upper limit value of δ_(d) also can be given.

$\begin{matrix} {T_{err} = {{P_{m}\left( {{\Delta\; I_{q\; 1}} + {\Delta\; I_{q\; 2}}} \right)}\varphi}} & (17) \\ {\delta_{q} = \frac{T_{\lim}}{P_{m}\varphi}} & (18) \end{matrix}$

Second Embodiment

In the first embodiment, the case in which the phase difference between the first three-phase windings and the second three-phase windings is π/6 is described. In a second embodiment, in a case in which the phase difference is zero as shown in FIG. 12, it will be described which phase of a current path needs to be arranged at which current path arrangement position. A current detection apparatus in the second embodiment is only different from the first embodiment in the phase difference between the first three-phase windings and the second three-phase windings, and the current path arrangement positions are the same as those shown in FIG. 3 and FIG. 6 in the first embodiment. Hereinafter, differences from the first embodiment will be described, and repetitive descriptions will be omitted.

As shown in FIG. 12, in the case where the phase difference between the first three-phase windings and the second three-phase windings is zero, the DC component I_(d_sum_dc) and the AC component I_(d_sum_ac) of the d-axis sum current, and the DC component I_(q_sum_dc) and the AC component I_(q_sum_ac) of the q-axis sum current are respectively given by Formulas (19) to (22).

$\begin{matrix} {I_{{d\_{sum}}{\_{dc}}} = {\frac{1}{\sqrt{6}}\left\{ {{\left( {a_{u\; 1{\_ u}\; 1} + a_{v\; 1{\_ v}\; 1} + a_{w\; 1{\_ w}\; 1} + a_{u\; 2{\_ u}\; 2} + a_{v\; 2{\_ v}\; 2} + a_{w\; 2{\_ w}\; 2}} \right){\sin\left( {\beta + \frac{\pi}{2}} \right)}} + {\left( {a_{u\; 1{\_ u}\; 2} + a_{v\; 1{\_ v}\; 2} + a_{w\; 1{\_ w}\; 2} + a_{u\; 2{\_ u}\; 1} + a_{v\; 2{\_ v}\; 1} + a_{w\; 2{\_ w}\; 1}} \right){\sin\left( {\beta + \frac{\pi}{2}} \right)}} + {\left( {a_{u\; 1{\_ v}\; 1} + a_{v\; 1{\_ w}\; 1} + a_{w\; 1{\_ u}\; 1} + a_{u\; 2{\_ v}\; 2} + a_{v\; 2{\_ w}\; 2} + a_{w\; 2{\_ u}\; 2} + a_{u\; 1{\_ v}\; 2} + a_{v\; 1{\_ w}\; 2} + a_{w\; 1{\_ u}\; 2} + a_{u\; 2{\_ v}\; 1} + a_{v\; 2{\_ w}\; 1} + a_{w\; 2{\_ u}\; 1}} \right){\sin\left( {\beta + {\frac{7}{6}\pi}} \right)}} + {\left( {a_{u\; 1{\_ w}\; 1} + a_{v\; 1{\_ u}\; 1} + a_{w\; 1{\_ v}\; 1} + a_{u\; 2{\_ w}\; 2} + a_{v\; 2{\_ u}\; 2} + a_{w\; 2{\_ v}\; 2} + a_{u\; 1{\_ w}\; 2} + a_{v\; 1{\_ u}\; 2} + a_{w\; 1{\_ v}\; 2} + a_{u\; 2{\_ w}\; 1} + q_{v\; 2{\_ u}\; 1} + a_{w\; 2{\_ v}\; 1}} \right){\sin\left( {\beta + {\frac{11}{6}\pi}} \right)}}} \right\}}} & (19) \\ {I_{{d\_{sum}}{\_{ac}}} = {\frac{1}{\sqrt{6}}\left\{ {{\left( {a_{u\; 1{\_ u}\; 1} + a_{u\; 2{\_ u}\; 2} + a_{v\; 1{\_ w}\; 1} + a_{w\; 1{\_ v}\; 1} + a_{v\; 2{\_ w}\; 2} + a_{w\; 2{\_ v}\; 2} + a_{u\; 1{\_ u}\; 2} + a_{v\; 1{\_ w}\; 2} + a_{w\; 1{\_ v}\; 2} + a_{u\; 2{\_ u}\; 1} + a_{v\; 2{\_ w}\; 1} + a_{w\; 2{\_ v}\; 1}} \right){\sin\left( {{2\theta} + \beta + \frac{\pi}{2}} \right)}} + {\left( {a_{v\; 1{\_ v}\; 1} + a_{v\; 2{\_ v}\; 2} + a_{u\; 1{\_ w}\; 1} + a_{w\; 1{\_ u}\; 1} + a_{u\; 2{\_ w}\; 2} + a_{w\; 2{\_ u}\; 2} + a_{u\; 1{\_ w}\; 2} + a_{v\; 1{\_ v}\; 2} + a_{w\; 1{\_ u}\; 2} + a_{u\; 2{\_ w}\; 1} + a_{v\; 2{\_ v}\; 1} + a_{w\; 2{\_ u}\; 1}} \right){\sin\left( {{2\theta} + \beta + {\frac{7}{6}\pi}} \right)}} + {\left( {a_{w\; 1{\_ w}\; 1} + a_{w\; 2{\_ w}\; 2} + a_{u\; 1{\_ v}\; 1} + a_{v\; 2{\_ u}\; 1} + a_{u\; 2{\_ v}\; 2} + a_{v\; 2{\_ u}\; 2} + a_{u\; 2{\_ v}\; 2} + a_{v\; 1{\_ u}\; 2} + a_{w\; 1{\_ w}\; 2} + a_{u\; 2{\_ v}\; 1} + a_{v\; 2{\_ u}\; 1} + a_{w\; 2{\_ w}\; 1}} \right){\sin\left( {{2\theta} + \beta + {\frac{11}{6}\pi}} \right)}}} \right\}}} & (20) \\ {I_{{q\_{sum}}{\_{dc}}} = {\frac{1}{\sqrt{6}}\left\{ {{\left( {a_{u\; 1{\_ u}\; 1} + a_{v\; 1{\_ v}\; 1} + a_{w\; 1{\_ w}\; 1} + a_{u\; 2{\_ u}\; 2} + a_{v\; 2{\_ v}\; 2} + a_{w\; 2{\_ w}\; 2}} \right)\sin\;\beta} + {\left( {a_{u\; 1{\_ u}\; 2} + a_{v\; 1{\_ v}\; 2} + a_{w\; 1{\_ w}\; 2} + a_{u\; 2{\_ u}\; 1} + a_{v\; 2{\_ v}\; 1} + a_{w\; 2{\_ w}\; 1}} \right)\sin\;\beta} + {\left( {a_{u\; 1{\_ v}\; 1} + a_{v\; 1{\_ w}\; 1} + a_{w\; 1{\_ u}\; 1} + a_{u\; 2{\_ u}\; 1} + a_{v\; 2{\_ v}\; 1} + a_{w\; 2{\_ w}\; 1}} \right)\sin\;\beta} + {\left( {a_{u\; 1{\_ v}\; 2} + a_{v\; 1{\_ w}\; 2} + a_{w\; 1{\_ u}\; 2} + a_{u\; 2{\_ v}\; 1} + a_{v\; 2{\_ w}\; 1} + a_{w\; 2{\_ u}\; 1}} \right){\sin\left( {\beta + {\frac{2}{3}\pi}} \right)}} + {\left( {a_{u\; 1{\_ w}\; 1} + a_{v\; 1{\_ u}\; 1} + a_{w\; 1{\_ v}\; 1} + a_{u\; 2{\_ w}\; 2} + a_{v\; 2{\_ u}\; 2} + a_{w\; 2{\_ v}\; 2} + a_{u\; 1{\_ w}\; 2} + a_{v\; 1{\_ u}\; 2} + a_{w\; 1{\_ v}\; 2} + a_{u\; 2{\_ w}\; 1} + a_{v\; 2{\_ u}\; 1} + a_{w\; 2{\_ v}\; 1}} \right){\sin\left( {\beta + {\frac{4}{3}\pi}} \right)}}} \right\}}} & (21) \\ {I_{{q\_{sum}}{\_{ac}}} = {\frac{1}{\sqrt{6}}\left\{ {{\left( {a_{u\; 1{\_ u}\; 1} + a_{u\; 2{\_ u}\; 2} + a_{v\; 1{\_ w}\; 1} + a_{w\; 1{\_ v}\; 1} + a_{v\; 2{\_ w}\; 2} + a_{w\; 2{\_ v}\; 2} + a_{u\; 1{\_ u}\; 2} + a_{v\; 1{\_ w}\; 2} + a_{w\; 1{\_ v}\; 2} + a_{u\; 2{\_ u}\; 1} + a_{v\; 2{\_ w}\; 1} + a_{w\; 2{\_ v}\; 1}} \right){\sin\left( {{2\theta} + \beta} \right)}} + {\left( {a_{v\; 1{\_ v}\; 1} + a_{v\; 2{\_ v}\; 2} + a_{u\; 1{\_ w}\; 1} + a_{w\; 1{\_ u}\; 1} + a_{u\; 2{\_ w}\; 2} + a_{w\; 2{\_ u}\; 2} + a_{u\; 1{\_ w}\; 2} + a_{v\; 1{\_ v}\; 2} + a_{w\; 1{\_ u}\; 2} + a_{u\; 2{\_ w}\; 1} + a_{v\; 2{\_ v}\; 1} + a_{w\; 2{\_ u}\; 1}} \right){\sin\left( {{2\theta} + \beta + {\frac{2}{3}\pi}} \right)}} + {\left( {a_{w\; 1{\_ w}\; 1} + a_{w\; 2{\_ w}\; 2} + a_{u\; 1{\_ v}\; 1} + a_{v\; 1{\_ u}\; 1} + a_{u\; 2{\_ v}\; 2} + a_{v\; 2{\_ u}\; 2} + a_{u\; 1{\_ v}\; 2} + a_{v\; 1{\_ u}\; 2} + a_{w\; 1{\_ w}\; 2} + a_{u\; 2{\_ v}\; 1} + a_{v\; 2{\_ u}\; 1} + a_{w\; 2{\_ w}\; 1}} \right){\sin\left( {{2\theta} + \beta + {\frac{4}{3}\pi}} \right)}}} \right\}}} & (22) \end{matrix}$

In Formulas (19) and (21), terms from the second to the fourth correspond to error components. In the second term to the fourth term, their phases are different by (⅔)π in order. If the amplitude of each term is equal, the error component expressed by the sum from the second term to the fourth term is zero (Condition (B)). In Formulas (20) and (22), terms from the first to the third correspond to error components. In the first term to the third term, their phases are different by (⅔)π in order. If the amplitude of each term is equal, the error component expressed by the sum from the first term to the third term is zero (Condition (B)).

In the case where the currents of the first three-phase windings flow in the first current paths and the currents of the second three-phase windings flow in the second current paths, three possible combinations as shown in FIG. 13 in which current phases are assigned to X11 to X23 are considered. When V1 phase is to be assigned to X11, U, V, and W need to be replaced by V, W, and U in FIG. 13, respectively. When W1 phase is to be assigned to X11, U, V, and W need to be replaced by W, U and V in FIG. 13, respectively.

In the case of the combination C1 in which the phases are the same in each of three pairs, coefficients in the pairs of the current paths arranged at the adjacent current path arrangement positions are given by Formula (23). a _(u1_u2) =a _(u2_u1) =a _(v1_v2) =a _(v2_v1) =a _(w1_w2) =a _(w2_w1) =k ₁  (23) Since other coefficients except for those in Formulas (9) and (23) are quite smaller than one or k₁, they can be regarded as zero. The amplitudes from the second term to the fourth term in Formula (19) cannot be made equal. However, the amplitudes from the first term to the third term in Formula (20) can be made equal (Condition (B)). Accordingly, although accuracy of the output torque cannot be achieved, the output torque ripple can be reduced. The same applies to the combination C3 in which the phases are different in each of three pairs.

In the case of the combination C2 in which the phases are the same in one pair, coefficients in the pairs of the current paths arranged at the adjacent current path arrangement positions are given by Formula (24). a _(u1_u2) =a _(u2_u1) =a _(v1_w2) =a _(w2_v1) =a _(w1_v2) =a _(v2_w1) =k ₁  (24) Since other coefficients except for those in Formulas (9) and (24) are quite smaller than one or k₁, they can be regarded as zero. The amplitudes from the first term to the third term in Formula (19) can be made equal (Condition (B)). However, the amplitudes from the first term to the third term in Formula (20) cannot be made equal. Accordingly, although accuracy of the output torque can be achieved, the output torque ripple cannot be reduced. For example, in the case where the current detection apparatus according to the present embodiment is used for a generator motor for a vehicle where accuracy of the output torque is required, the combination C2 may be selected. In the case where the current detection apparatus according to the present embodiment is used for a rotating machine for an electric power steering system where the output torque ripple needs to be reduced, the combination C1 or C3 may be selected. Note that, in the AC rotating machine of the present second embodiment, since the phase difference between the first three-phase windings and the second three-phase windings is zero, it is natural that U1, V1, W1 are freely exchanged with U2, V2, W2, respectively.

The closest current path of one phase to a magnetic sensor belongs to a current detector of the one phase, and the second closest current path of another phase belongs to the adjacent current detector. Thus, influence from the current paths of the remaining four phases can be relatively made small, and out of the 36 coefficients of a_(u1_u1) to a_(w2_w2) in Formula (1), the target to be considered for reducing the current detection error can be limited to 12, so that accuracy of the output torque can be improved or the torque ripple can be reduced even in the AC rotating machine in which the phase difference is zero.

Note that, although the AC rotating machine including two sets of three-phase windings is described here, the formula representing error components need to consist of three sine functions whose phases are different by (⅔)π in order, and thus the same advantageous effect can be obtained in the case of two sets of n-phase windings when n is a multiple of three.

Third Embodiment

In the first embodiment, the case in which the phase difference between the first three-phase windings and the second three-phase windings is π/6 is described. In a third embodiment, in a case in which the phase difference is π/3 as shown in FIG. 14, it will be described which phase of a current path needs to be arranged at which current path arrangement position. A current detection apparatus in the third embodiment is only different from the first embodiment in the phase difference between the first three-phase windings and the second three-phase windings, and the current path arrangement positions are the same as those shown in FIG. 3 and FIG. 6 in the first embodiment. Hereinafter, differences from the first embodiment will be described, and repetitive descriptions will be omitted.

As shown in FIG. 14, in the case where the phase difference between the first three-phase windings and the second three-phase windings is π/3, the DC component I_(d_sum_dc) and the AC component I_(d_sum_ac) of the d-axis sum current, and the DC component I_(q_sum_dc) and the AC component I_(q_sum_ac) of the q-axis sum current are respectively given by Formulas (25) to (26). The q-axis sum current is omitted because it has the same coefficients and the phase is only different by π/2.

$\begin{matrix} {I_{{d\_{sum}}{\_{dc}}} = {\frac{1}{\sqrt{6}}\left\{ {{\left( {a_{u\; 1{\_ u}\; 1} + a_{v\; 1{\_ v}\; 1} + a_{w\; 1{\_ w}\; 1} + a_{u\; 2{\_ u}\; 2} + a_{v\; 2{\_ v}\; 2} + a_{w\; 2{\_ w}\; 2}} \right){\sin\left( {\beta + \frac{\pi}{2}} \right)}} + {\left( {a_{u\; 1{\_ w}\; 2} + a_{v\; 1{\_ u}\; 2} + a_{w\; 1{\_ v}\; 2} + a_{w\; 2{\_ u}\; 1} + a_{u\; 2{\_ v}\; 1} + a_{v\; 2{\_ w}\; 1}} \right){\sin\left( {\beta + \frac{\pi}{6}} \right)}} + {\left( {a_{u\; 1{\_ u}\; 2} + a_{v\; 1{\_ v}\; 2} + a_{w\; 1{\_ w}\; 2} + a_{u\; 2{\_ v}\; 1} + a_{v\; 2{\_ v}\; 1} + a_{w\; 2{\_ w}\; 1}} \right){\sin\left( {\beta + {\frac{5}{6}\pi}} \right)}} + {\left( {a_{u\; 1{\_ v}\; 2} + a_{v\; 1{\_ w}\; 2} + a_{w\; 1{\_ u}\; 2} + a_{u\; 2{\_ w}\; 1} + a_{v\; 2{\_ u}\; 1} + a_{w\; 2{\_ v}\; 1}} \right){\sin\left( {\beta + {\frac{3}{2}\pi}} \right)}} + {\left( {a_{u\; 1{\_ v}\; 1} + a_{v\; 1{\_ w}\; 1} + a_{w\; 1{\_ u}\; 1} + a_{u\; 2{\_ v}\; 2} + a_{v\; 2{\_ w}\; 2} + a_{w\; 2{\_ u}\; 2}} \right){\sin\left( {\beta + {\frac{7}{6}\pi}} \right)}} + {\left( {a_{u\; 1{\_ w}\; 1} + a_{v\; 1{\_ u}\; 1} + a_{w\; 1{\_ v}\; 1} + a_{u\; 2{\_ w}\; 2} + a_{v\; 2{\_ u}\; 2} + a_{w\; 2{\_ v}\; 2}} \right){\sin\left( {\beta + {\frac{11}{6}\pi}} \right)}}} \right\}}} & (25) \\ {I_{{d\_{sum}}{\_{ac}}} = {\frac{1}{\sqrt{6}}\left\{ {\left( {a_{u\; 1{\_ u}\; 1} + a_{v\; 2{\_ v}\; 2} + a_{v\; 1{\_ w}\; 1} + a_{w\; 1{\_ v}\; 1} + a_{u\; 2{\_ w}\; 2} + a_{w\; 2{\_ u}\; 2}} \right)\sin\left. \quad{\left( {{2\theta} + \beta + \frac{\pi}{2}} \right) + {\left( {a_{v\; 1{\_ v}\; 1} + a_{w\; 2{\_ w}\; 2} + a_{u\; 1{\_ w}\; 1} + a_{w\; 1{\_ u}\; 1} + a_{u\; 2{\_ v}\; 2} + a_{v\; 2{\_ u}\; 2}} \right){\sin\left( {{2\theta} + \beta + {\frac{7}{6}\pi}} \right)}} + {\left( {a_{w\; 1{\_ w}\; 1} + a_{u\; 2{\_ u}\; 2} + a_{u\; 1{\_ v}\; 1} + a_{v\; 1{\_ u}\; 1} + a_{v\; 2{\_ w}\; 2} + a_{w\; 2{\_ v}\; 2}} \right){\sin\left( {{2\theta} + \beta + {\frac{11}{6}\pi}} \right)}} + {\left( {a_{u\; 1{\_ u}\; 2} + a_{v\; 1{\_ w}\; 2} + a_{w\; 1{\_ v}\; 2} + a_{u\; 2{\_ u}\; 1} + a_{v\; 2{\_ w}\; 1} + a_{w\; 2{\_ v}\; 1}} \right){\sin\left( {{2\theta} + \beta + {\frac{3}{2}\pi}} \right)}} + {\left( {a_{u\; 1{\_ w}\; 2} + a_{v\; 1{\_ v}\; 2} + a_{w\; 1{\_ u}\; 2} + a_{u\; 2{\_ w}\; 1} + a_{v\; 2{\_ v}\; 1} + a_{w\; 2{\_ u}\; 1}} \right){\sin\left( {{2\theta} + \beta + \frac{\pi}{6}} \right)}} + {\left( {a_{u\; 1{\_ v}\; 2} + a_{v\; 1{\_ u}\; 2} + a_{w\; 1{\_ w}\; 2} + a_{u\; 2{\_ v}\; 1} + a_{v\; 2{\_ u}\; 1} + a_{w\; 2{\_ w}\; 1}} \right){\sin\left( {{2\theta} + \beta + {\frac{5}{6}\pi}} \right)}}} \right\}} \right.}} & (26) \end{matrix}$

In Formula (25), terms from the second to the sixth correspond to error components. From the second term to the fourth term, their phases are different by (⅔)π in order. If the amplitude of each term is equal, the sum from the second term to the fourth term is zero (Condition (B)). That is, in order to make the error components zero in Formula (25), the requirement is that the amplitudes from the second term to the fourth term are equal, and the amplitudes from the fifth term to the sixth term are zero (Condition (A)). In Formula (26), terms from the first to the sixth correspond to error components. From the first term to the third term, their phases are different by (⅔)π in order. If the amplitude of each term is equal, the sum from the first term to the third term is zero (Condition (B)). From the fourth term to the sixth term, their phases are different by (⅔)π in order. If the amplitude of each term is equal, the sum from the fourth term to the sixth term is zero (Condition (B)). That is, in order to make the error components zero in Formula (26), the requirement is that the amplitudes from the first term to the third term are equal, and the amplitudes from the fourth term to the sixth term are equal (Condition (B)).

When coefficients in the fifth term and sixth term in Formula (25) are examined, the amplitude of each term is the sum of the noise components between the first three-phase windings and between the second three-phase windings. Thus, if current detectors of the first three-phase windings are not disposed next to each other and current detectors of the second three-phase windings are not disposed next to each other, the coefficients can be made zero.

In the case where the currents of the first three-phase windings flow in the first current paths and the currents of the second three-phase windings flow in the second current paths, three combinations as shown in FIG. 15 in which current phases are assigned to X11 to X23 are considered. When V1 phase is to be assigned to X11, U, V, and W need to be replaced by V, W, and U in FIG. 15, respectively. When W1 phase is to be assigned to X11, U, V, and W need to be replaced by W, U and V in FIG. 15, respectively.

In the case of the combination C1 in which the phase difference is π in each of three pairs, coefficients in the pairs of the current paths arranged at the adjacent current path arrangement positions are given by Formula (27). a _(u1_v2) =a _(v2_u1) =a _(v1_w2) =a _(w2_v1) =a _(w1_u2) =a _(u2_w1) =k ₁  (27) Since other coefficients except for those in Formulas (9) and (27) are quite smaller than one or ki, they can be regarded as zero. Although the amplitudes from the second term to the fourth term in Formula (25) cannot be made equal, the amplitudes from the fourth term to the sixth term in Formula (26) can be made equal (Condition (B)). Accordingly, although accuracy of the output torque cannot be achieved, the output torque ripple can be reduced. The same applies to the combination C3 in which the phase difference is not π in each of three pairs.

In the case of the combination C2 in which the phase difference is π in one pair, coefficients in the pairs of the current paths arranged at the adjacent current path arrangement positions are given by Formula (28). a _(u1_v2) =a _(v2_u1) =a _(v1_u2) =a _(u2_v1) =a _(w1_w2) =a _(w2_w1) =k ₁  (28) Since other coefficients except for those in Formulas (9) and (28) are quite smaller than one or k₁, they can be regarded as zero. Although the amplitudes from the fourth term to the sixth term in Formula (26) cannot be made equal, the amplitudes from the first term to the third term in Formula (25) can be made equal (Condition (B)). Accordingly, although the output torque ripple cannot be reduced, accuracy of the output torque can be achieved. For example, in the case where the current detection apparatus according to the present embodiment is used for a generator motor for a vehicle where accuracy of the output torque is required, the combination C2 may be selected. In the case where the current detection apparatus according to the present embodiment is used for a rotating machine for an electric power steering system where the output torque ripple needs to be reduced, the combination C1 or C3 may be selected.

The closest current path of one phase to a magnetic sensor belongs to a current detector of the one phase, and the second closest current path of another phase belongs to the adjacent current detector. Thus, influence from the current paths of the remaining four phases can be relatively made small, and out of the 36 coefficients of a_(u1_u1) to a_(w2_w2) in Formula (1), the target to be considered for reducing the current detection error can be limited to 12, so that accuracy of the output torque can be improved and the torque ripple can be reduced even in the AC rotating machine in which the phase difference between the first three-phase windings and the second three-phase windings is π/3.

Note that, although the AC rotating machine including two sets of three-phase windings is described here, the formula representing error components need to consist of three sine functions whose phases are different by (⅔)π in order, and thus the same advantageous effect can be obtained in the case of two sets of n-phase windings when n is a multiple of three. Furthermore, even in an AC rotating machine with one set of 2n-phase windings, phase differences within the windings are each π/n, so that a similar idea can be applied for the assignment of current paths.

Fourth Embodiment

In a current detection apparatus according to a fourth embodiment, current detectors are arranged in the same way as the first embodiment as shown in FIG. 3, and a configuration of an arrangement for current paths and magnetic sensors at adjacent two current path arrangement positions is shown in FIG. 16. That is, the magnetic sensors and the current paths are arranged alternately on a straight line at the adjacent two current path arrangement positions. Hereinafter, repetitive descriptions with respect to the first embodiment will be omitted.

FIG. 16 is a schematic diagram showing an arrangement of a first current path arrangement position Y12 and a second current path arrangement position Y22. A first magnetic sensor S12, a first current path X12, a second magnetic sensor S22, and a second current path X22 are arranged in this order. Since the direction of the magnetic field generated from the first current path X12 at the position of the first magnetic sensor S12 is upward, the detection axis is P12. Since the direction of the magnetic field generated from the second current path X22 at the position of the second magnetic sensor S22 is upward, the detection axis is P22. Since the direction of the magnetic field generated from the second current path X22 at the position of the first magnetic sensor S12 is upward, the direction is the same as the direction of the detection axis P12. Since the direction of the magnetic field generated from the first current path X12 at the position of the second magnetic sensor S22 is downward, the direction is opposite to the direction of the detection axis P22. Therefore, the direction of the noise component in any of the second magnetic sensors S21 to S23 is opposite to that in any of the first magnetic sensors S11 to S13 with respect to the direction of the components that are intended to be obtained. In this configuration, since the current paths and the magnetic sensors disposed in the first current arrangement positions and the second arrangement positions are arranged in the same manner, so that the number of parts can be reduced, and aligning them on a straight line leads to miniaturization.

In the case where the phase difference between the first three-phase windings and the second three-phase windings is π/6 as shown in FIG. 2, in any pair of adjacent phases, the amplitude of each term in the error components in Formula (6) and Formula (8) can be made zero (Condition (A)), so that the output torque ripple can be reduced. In the case where the current detection apparatus according to the present embodiment is used for a rotating machine for an electric power steering system where the output torque ripple needs to be reduced, the phase difference between the first three-phase windings and the second three-phase windings is set to π/6. In addition to the above, preferred requirements are as follows. The direction of the magnetic field generated from the second current path X2 k is the same as the direction of the detection axis P1 k of the magnetic sensor S1 k for the magnetic field generated from the first current path X1 k, and the direction of the magnetic field generated from the first current path X1 k is opposite to the direction of the detection axis P2 k of the magnetic sensor S2 k for the magnetic field generated from the second current path X2 k. Alternatively, the direction of the magnetic field generated from the second current path X2 k is opposite to the direction of the detection axis P1 k of the first magnetic sensor S1 k for the magnetic field generated from the first current path X1 k, and the direction of the magnetic field generated from the first current path X1 k is the same as the direction of the detection axis P2 k of the second magnetic sensor S2 k for the magnetic field generated from the second current path X2 k.

Further, in FIG. 7, in the case of the combination C2, coefficients in the pairs of the current paths arranged at the adjacent current path arrangement positions are given by Formula (29).

$\begin{matrix} \left\{ \begin{matrix} {a_{u\; 1{\_ w}\; 2} = {a_{v\; 1{\_ v}\; 2} = {a_{w\; 1{\_ u}\; 2} = k_{1}}}} \\ {a_{w\; 2{\_ u}\; 1} = {a_{v\; 2{\_ v}\; 1} = {a_{u\; 2{\_ w}\; 1} = {- k_{1}}}}} \end{matrix} \right. & (29) \end{matrix}$ Since other coefficients except for those in Formulas (9) and (29) are quite smaller than one or ki, they can be regarded as zero. The amplitudes from the second term to the fourth term in Formula (5) can be made equal, so that the sum of the terms can be made zero. Thus, accuracy of the output torque can also be achieved. The same applies to the combinations C4 and C6.

Note that, in the case of the combination C1 in FIG. 7 in which the phase difference is π/2 in each of three pairs, coefficients in the pairs of the current paths arranged at the adjacent current path arrangement positions are given by Formula (30).

$\begin{matrix} \left\{ \begin{matrix} {a_{u\; 1{\_ w}\; 2} = {a_{v\; 1{\_ u}\; 2} = {a_{w\; 1{\_ v}\; 2} = k_{1}}}} \\ {a_{w\; 2{\_ u}\; 1} = {a_{u\; 2{\_ v}\; 1} = {a_{v\; 2{\_ w}\; 1} = {- k_{1}}}}} \end{matrix} \right. & (30) \end{matrix}$ Since other coefficients except for those in Formulas (9) and (30) are quite smaller than one or k₁, they can be regarded as zero. Only the amplitude of the second term in Formula (5) remains, and thus an error of the DC component of the sum current becomes large. Therefore, it can be seen that it is important to satisfy the condition (B) by making the amplitudes from the second term to the fourth term equal. That is, not in all but in a part of the adjacent current path arrangement positions in the first current path arrangement positions and the second current path arrangement positions, that is, only in a pair in the adjacent current path arrangement positions, by setting the pair having a phase difference of π/2, the error of the DC component of the sum current can be reduced, so that the accuracy of the output torque can be achieved and the output torque ripple can also be reduced.

As shown in FIG. 12, in the case where the phase difference between the first three-phase windings and the second three-phase windings is zero, all of the amplitudes in Formula (19) and Formula (20) are expressed in the form of addition of coefficients in each term, and U1 and U2, V1 and V2, and W1 and W2 that are each in the same phase relationship are associated with the coefficients of the second term in Formula (19). In the case of the combination C1 in FIG. 17, the amplitudes of the error components in Formula (19) can be made zero by a_(u1_u2), a_(v1_v2), and a_(w1_w2) cancelling out a_(u2_u1), a_(v2_v1), and a_(w2_w1), respectively (Condition (A)), and also the amplitudes of Formula (20) can be made equal (Condition (B)), so that the errors of the DC component and the AC component in the sum currents can be reduced. In the case of the combination C2 in FIG. 17, although the amplitudes of the error components in Formula (19) cannot be made zero, the amplitudes of Formula (20) can be made equal (Condition (B)), so that the error of the AC component in the sum current can be reduced. In the case of the combination C3 in FIG. 17, the amplitudes of the error components in Formula (19) can be made zero (Condition (A)), and also the amplitudes of Formula (20) can be made equal (Condition (B)), so that the errors of the DC component and the AC component in the sum currents can be reduced. That is, even in the combination C3 where two current paths arranged at at least one pair for adjacent two of the current path arrangement positions is assigned to flow currents in the same phase, a new advantageous effect can be obtained in that the errors of the DC component and the AC component in the sum currents can be reduced. In the case of the combination C4 in FIG. 17, although the amplitudes of the error components in Formula (19) cannot be made zero, the amplitudes in Formula (20) can be made equal (Condition (B)), so that the error of the AC component in the sum current can only be reduced. In FIG. 17, four patterns are described using U1 phase as a phase reference out of the first three-phase windings. However, it is natural that the same effect can be obtained in the arrangement where the replacement between U and V, V and W, W and U, and 1 and 2 is made.

In the case where the phase difference between the first three-phase windings and the second three-phase windings is π/3 as shown in FIG. 14, all of the amplitudes in Formula (25) and Formula (26) are expressed in the form of addition of coefficients in each term, and the same way of thinking in the case where the phase difference does not exist can be applied. U1 and V2, V1 and W2, and W1 and U2 each having a phase difference of π are associated with the coefficients of the third term in Formula (25). In the case of the combination C1 in FIG. 18, the amplitudes of the error components in Formula (25) can be made zero by a_(u1_v2), a_(v1_w2), and a_(w1_u2) cancelling out a_(v2_u1), a_(w2_v1), and a_(u2_w1), respectively, and also the amplitudes of Formula (26) can be made equal, so that the errors of the DC component and the AC component in the sum currents can be reduced. In the case of the combination C3 in FIG. 18, the amplitudes of the error components in Formula (25) can be made zero (Condition (A)), and also the amplitudes of Formula (26) can be made equal (Condition (B)), so that the errors of the DC component and the AC component in the sum currents can be reduced. That is, even in the combination C3 where current paths arranged at at least one pair for adjacent two of the current path arrangement positions is assigned to flow currents having a phase difference of π, a new advantageous effect can be obtained in that the errors of the DC component and the AC component in the sum currents can be reduced. In the case of the combination C2 in FIG. 18, although the amplitudes of the error components in Formula (25) cannot be made zero, the amplitudes of Formula (26) can be made equal (Condition (B)), so that the error of the AC component in the sum current can be reduced. In addition, in the case of the combination C4 in FIG. 18, although the amplitudes of the error components in Formula (25) cannot be made zero, the amplitudes of Formula (26) can be made equal (Condition (B)), so that the error of the AC component in the sum current can be reduced. In FIG. 18, four patterns are described using U1 phase as a phase reference out of the first three-phase windings. However, it is natural that the same effect can be obtained in the arrangement where the replacement between U and V, V and W, W and U, and 1 and 2 is made.

In the above example, the configuration in FIG. 16 in which the first magnetic sensor S12, the first current path X12, the second magnetic sensor S22, and the second current path X22 are arranged in this order is described. However, in another configuration in which the first current path X12, the first magnetic sensor S12, the second current path X22, and the second magnetic sensor S22 are arranged in this order, the same advantageous effect can be obtained. Note that, as shown in FIG. 16 or FIG. 19, regarding the connection direction between the AC rotating machine 1 and the power converter 4 a or the power converter 4 b, it is a matter of course that, if the first current path X12 and the second current path X22 are the same in the connection direction, the wirings are easier to be disposed and this can contribute to downsizing. Even if one of the current paths is reversed in the connection direction, it is possible to obtain the same advantageous effect.

Note that, in the combination C2 in FIG. 17, the current path with the phase of W1 in the first three-phase windings is assigned to the second current path X22, and the current path with the phase of V2 in the second three-phase windings is assigned to the first current path X13. In C3 of FIG. 17, the current path with the phase of W1 in the first three-phase windings is assigned to the second current path X22, and the current path with the phase of W2 in the second three-phase windings is assigned to the first current path X13. In C2 of FIG. 18, the current path with the phase of W2 in the second three-phase windings is assigned to the first current path X13, and the current path with the phase of W1 in the first three-phase windings is assigned to the second current path X23. As described above, even if the current paths of the first three-phase windings are not necessarily arranged at the first current path arrangement positions, and the current paths of the second three-phase windings are not necessarily arranged at the second current path arrangement positions, there are conditions in which the error components can be reduced.

Fifth Embodiment

In a fifth embodiment, a method of manufacturing a current detection apparatus in which an arrangement of a current path of each phase described in the first to fourth embodiments is determined will be described in a collective manner. FIG. 20 is a flowchart showing a flow in a manufacturing method of the current detection apparatus according to the fifth embodiment.

First, each of detection currents i_(ks) that is detected by a magnetic sensor for each of the windings with 2n phases is expressed by Formula (31) using a_(l_k) (k and l are integers from 1 to n).

$\begin{matrix} {i_{ks} = {\sum\limits_{l = 1}^{2n}\;{a_{l\_ k} \times I_{1}\mspace{14mu}\left( {k = {1 \sim {2n}}} \right)}}} & (31) \end{matrix}$ Here, I_(l) is a current value for an l-phase. The coefficient a_(l_k) represents a ratio at which a magnetic sensor disposed at a current path of a k-phase senses a current of the l-phase. In other words, it is a coupling coefficient between the magnetic sensor for the k-phase and the current path of the l-phase.

Formula (1) is for the case of a 2n-phase AC rotating machine (for example, n equals three) in which two sets of three-phase windings whose phase difference is π/6 are included, and Formula (31) that is represented for a current detection apparatus in a rotating machine having windings with 2n phases is an generalized expression from Formula (1). The currents are normalized on the assumption that all the amplitudes of I_(l) are equal, and expressed in Formula (1). For example, assuming a_(k_k) is one, the coefficient a_(l_k) can be indicated as a ratio of how much the magnetic sensor for the k-phase detects the current of the l-phase. Then, it is necessary to determine the signs of the coefficients by considering the direction of the currents of the k-phase and the l-phase and the direction of the magnetic flux generated at the position of the magnetic sensor of the k-phase by the l-phase current. In conventional current detection apparatuses, for example, a magnetic sensor is provided with magnetic shielding or a magnetic sensor for the k-phase is disposed sufficiently far away from all the current paths of the 1-phases, where l≠k, or a correction conductor is disposed so as to add a correction current, and thereby values of the coefficients a_(l_k), where l≠k, are made negligibly small as compared with the value of a_(k_k). In the present application as described in the first to fourth embodiments, when at least the coefficients a_(l_k) (l≠k) have effective values that cannot be ignored as compared with the value of a_(k_k), the current path arrangements are determined by focusing on the fact that there are current path arrangements in which the values of the error terms are reduced or made zero by the cancellation among coefficients a_(l_k) (l≠k) having effective values. The above is the distinctive feature of the present application.

Next, using 2n-phase currents expressed by Formula (31), a dq-transformation into a two-axis coordinate system is performed on these currents (step ST1). Then, with regard to 2n current path arrangement positions where each of magnetic sensors is disposed to face each of 2n current paths, n positions are set in which two current path arrangement positions adjacent to each other are provided at each of the n positions (step ST2). So far at this step, it is not determined which phase current path is arranged at which current path arrangement position. In addition, the order of step ST1 and step ST2 may be reversed.

On the assumption that n is a multiple of three and all amplitudes of I_(l) are equal, the d-axis sum current and the q-axis sum current based on the dq-transformed current can be represented collectively with each of terms of sine functions with different phases to one another by putting together terms expressed by sine functions with the same phase. In the case of a 2n-phase AC rotating machine (for example, n equals three) in which two sets of three-phase windings whose phase difference is π/6 as shown in FIG. 2 are included, the d-axis sum current and the q-axis sum current are represented by Formulas (5) to (8). In this way, on the assumption that n is a multiple of three and all amplitudes of I_(l) are equal, the d-axis sum current and the q-axis sum current based on the dq-transformed current can be represented collectively with each of terms of sine functions with different phases to one another by putting together terms expressed by sine functions with the same phase. Using cancellation among the coefficients a_(l_k) (l≠k) that have effective values within a term of sine function with the same phase or cancellation among values of terms of sine functions with different phases, each of 2n current paths is assigned to each of 2n current path arrangement positions in such a manner that error terms of the dq-transformed current satisfy at least one of the following conditions (A) and (B) (step ST3).

(A) At least in a term, an amplitude of the term corresponding to an error component is reduced by coefficients being cancelled out, the coefficients being contained in the term.

(B) Error components are reduced by cancellation among values of terms of sine functions with different phases.

As described above, the current detection apparatus is manufactured by arranging a current path with an assigned phase at each current path arrangement position (step ST4). The current detection apparatus that is manufactured in the way described above has a configuration in which the current paths of the respective phases are arranged at the respective arrangement positions so as to satisfy any one of the above conditions (A) and (B).

As can be seen from the above, each of 2n current paths where each of magnetic sensors is disposed to face each of the current paths is assigned to each of the 2n current path arrangement positions so as to satisfy at least one of the conditions (A) and (B), so that a current detection apparatus with a small detection error can be obtained. That is, since it is not necessary to dispose each magnetic sensor far away from other phases, a current detection apparatus that does not require much space and additional members such as a correction conductor or a magnetic shield and that has a small error can be obtained.

Although various exemplary embodiments and examples are described in the present application, various features, aspects, and functions described in one or more embodiments are not inherent in a particular embodiment, and can be applicable alone or in their various combinations to each embodiment. Accordingly, countless variations that are not illustrated are envisaged within the scope of the art disclosed herein. For example, the case where at least one component is modified, added or omitted, and the case where at least one component is extracted and combined with a component in another embodiment are included.

REFERENCE SIGNS LIST

-   -   1 AC rotating machine     -   5 Current detection apparatus     -   100 Rotor axis     -   S11, S12, S13, S21, S22, S23 Magnetic sensor     -   X11, X12, X13, X21, X22, X23 Current path     -   Y11, Y12, Y13, Y21, Y22, Y23 Current path arrangement position 

What is claimed is:
 1. A current detection apparatus comprising magnetic sensors each disposed to face each of current paths for each of windings with 2n phases (n is a multiple of three) in an AC rotating machine, wherein each of the magnetic sensors is disposed to face each of the current paths at each of 2n current path arrangement positions that are set so as to have adjacent two of current path arrangement positions at each of n positions, a detection current i_(ks) that is detected by a magnetic sensor disposed to face a current path of a k-phase is represented by Formula (a) using a current I₁ of an l-phase (l=1 to 2n) being a l-th phase out of the 2n phases and using a_(l_k) that is a coupling coefficient between a current path of the 1-phase and the magnetic sensor disposed to face the current path of the k-phase (k=1 to 2n) being the k-th phase out of the 2n phases, and $\begin{matrix} {i_{ks} = {\sum\limits_{l = 1}^{2n}\;{a_{l\_ k} \times {I_{l}\left( {k = {{\left. 1 \right.\sim 2}n}} \right)}}}} & (a) \end{matrix}$ in a d-axis sum current and a q-axis sum current that are currents obtained by performing a dq-transformation into a two-axis coordinate system on 2n detection currents i_(ks) on an assumption that all amplitudes of Ii are the same, and when each of a DC component and an AC component in the sum currents is represented collectively with each of terms expressed by sine functions with different phases to one another, the current paths are arranged to have a positional relationship that satisfies at least one condition out of a first condition in which, at least in one of the terms, an amplitude in the one term corresponding to one of error components is reduced by cancellation among coefficients a_(l_k) included in the one term, where l≠k, and a second condition in which the error components are reduced by cancellation among values of the terms of sine functions with different phases.
 2. The current detection apparatus according to claim 1, wherein, using an error δ_(d) and an error δ_(q) determined on a basis of accuracy of an output torque or an output torque ripple of the AC rotating machine, an error component of the d-axis sum current ΔI_(d) satisfies |ΔI_(d)|<δ_(d) or an error component of the q-axis sum current ΔI_(q) satisfies |ΔI_(q)|<δ_(q).
 3. The current detection apparatus according to claim 1, wherein windings with the 2n phases are made up of two sets of windings with n phases.
 4. The current detection apparatus according to claim 3, wherein a phase difference between the two sets of n-phase windings is π/6 rad.
 5. The current detection apparatus according to claim 4, wherein, in adjacent two of the current path arrangement positions, a phase difference between currents in two of the current paths is π/2 rad.
 6. The current detection apparatus according to claim 4, wherein, in adjacent two of only a part of the current path arrangement positions, a phase difference between currents in two of the current paths is π/2 rad.
 7. The current detection apparatus according to claim 3, wherein a phase difference between the two sets of n-phase windings is zero.
 8. The current detection apparatus according to claim 7, wherein, in adjacent two of the current path arrangement positions, a phase difference between currents in two of the current paths is zero.
 9. The current detection apparatus according to claim 3, wherein a phase difference between the two sets of n-phase windings is π/3 rad.
 10. The current detection apparatus according to claim 9, wherein, in adjacent two of the current path arrangement positions, a phase difference between currents in two of the current paths is π rad.
 11. The current detection apparatus according to claim 1, wherein windings with the 2n phases are made up of a set of windings with 2n phases.
 12. The current detection apparatus according to claim 1, wherein the 2n current path arrangement positions are arranged on the same circle.
 13. The current detection apparatus according to claim 12, wherein a center of the same circle is at a position of a rotor axis in the AC rotating machine.
 14. The current detection apparatus according to claim 1, wherein, in adjacent two of the current path arrangement positions, two of the magnetic sensors are disposed between two of the current paths.
 15. The current detection apparatus according to claim 1, wherein, in adjacent two of the current path arrangement positions, two of the current paths are arranged between two of the magnetic sensors.
 16. The current detection apparatus according to claim 1, wherein, in adjacent two of the current path arrangement positions, two of the current paths are arranged on the same plane and each of the magnetic sensors facing each of the current paths is arranged on another same plane different from the plane on which the two of the current paths adjacent to each other are arranged.
 17. The current detection apparatus according to claim 1, wherein, in adjacent two of the current path arrangement positions, each of the magnetic sensors and each of the current paths are arranged alternately on a straight line.
 18. The current detection apparatus according to claim 1, wherein currents in two of the current paths adjacent to each other flow in the same direction.
 19. A manufacturing method for a current detection apparatus that has magnetic sensors each disposed to face each of current paths for each of windings with 2n phases (n is a multiple of three) in an AC rotating machine, the manufacturing method for the current detection apparatus comprising the steps of: setting 2n current path arrangement positions as positions for setting 2n current paths in which each of the magnetic sensors is disposed to face each of the 2n current paths, by setting positions for arranging adjacent two of the current paths at each of n positions; assigning each of the 2n current paths to which each of the magnetic sensors is disposed to face, at each of the 2n current path arrangement positions that are set, so as to satisfy at least one of a first condition and a second condition, wherein, in a case where a detection current i_(ks) that is detected by a magnetic sensor disposed to face a current path of a k-phase is represented by Formula (b) using a current I₁ of an l-phase (l=1 to 2n) being a l-th phase out of the 2n phases and using a_(l_k) that is a coupling coefficient between a current path of the l-phase and the magnetic sensor disposed to face the current path of the k-phase (k=1 to 2n) being the k-th phase out of the 2n phases, $\begin{matrix} {i_{ks} = {\sum\limits_{l = 1}^{2n}\;{a_{l\_ k} \times I_{1}\mspace{14mu}\left( {k = {1 \sim {2n}}} \right)}}} & (b) \end{matrix}$ and in a d-axis sum current and a q-axis sum current that are currents obtained by performing a dq-transformation into a two-axis coordinate system on 2n detection currents i_(ks) on an assumption that all amplitudes of Ii are the same, and when each of a DC component and an AC component in the sum currents is represented collectively with each of terms expressed by sine functions with different phases to one another, the first condition is a condition in which, at least in one of the terms, an amplitude in the one term corresponding to one of error components is reduced by cancellation among coefficients a_(l_k) included in the one term, where l≠k, and the second condition is a condition in which the error components are reduced by cancellation among values of the terms of sine functions with different phases; and arranging each of the current paths to which each of the magnetic sensors is disposed to face, at the current path arrangement positions assigned in the step of assigning each of the 2n current paths.
 20. The manufacturing method for the current detection apparatus according to claim 19, wherein, using an error δ_(d) and an error δ_(q) determined on a basis of accuracy of an output torque or an output torque ripple of the AC rotating machine, an error component of the d-axis sum current ΔI_(d) satisfies |ΔI_(d)|<δ_(d) or an error component of the q-axis sum current ΔI_(q) satisfies ΔI_(q)|<δ_(q).
 21. The manufacturing method for the current detection apparatus according to claim 19, wherein windings with the 2n phases are made up of two sets of windings with n phases.
 22. The manufacturing method for the current detection apparatus according to claim 21, wherein a phase difference between the two sets of n-phase windings is π/6 rad.
 23. The manufacturing method for the current detection apparatus according to claim 22, wherein, in the step of assigning each of the 2n current paths, in adjacent two of the current path arrangement positions, current paths with a phase difference being π/2 rad are assigned.
 24. The manufacturing method for the current detection apparatus according to claim 22, wherein, in the step of assigning each of the 2n current paths, current paths with a phase difference being π/2 rad are assigned in adjacent two of a part of the current path arrangement positions.
 25. The manufacturing method for the current detection apparatus according to claim 21, wherein a phase difference between the two sets of n-phase windings is zero.
 26. The manufacturing method for the current detection apparatus according to claim 25, wherein, in the step of assigning each of the 2n current paths, in adjacent two of the current path arrangement positions, current paths with a phase difference being zero are assigned.
 27. The manufacturing method for the current detection apparatus according to claim 21, wherein a phase difference between the two sets of n-phase windings is π/3 rad.
 28. The manufacturing method for the current detection apparatus according to claim 27, wherein, in the step of assigning each of the 2n current paths, current paths with a phase difference being π rad in adjacent two of the current path arrangement positions.
 29. The manufacturing method for the current detection apparatus according to claim 19, wherein windings with the 2n phases are made up of a set of windings with 2n phases.
 30. The manufacturing method for the current detection apparatus according to claim 19, wherein, in the step of setting 2n current path arrangement positions, the 2n current path arrangement positions are set on the same circle.
 31. The manufacturing method for the current detection apparatus according to claim 30, wherein a center of the same circle is set at a position of a rotor axis in the AC rotating machine.
 32. The manufacturing method for the current detection apparatus according to claim 19, wherein, in the step of arranging each of the current paths, in adjacent two of the current path arrangement positions, two of the magnetic sensors are disposed between two of the current paths.
 33. The manufacturing method for the current detection apparatus according to claim 19, wherein, in the step of arranging each of the current paths, in adjacent two of the current path arrangement positions, two of the current paths are arranged between two of the magnetic sensors.
 34. The manufacturing method for the current detection apparatus according to claim 19, wherein, in the step of arranging each of the current paths, in adjacent two of the current path arrangement positions, two of the current paths are arranged on the same plane and each of the magnetic sensors facing each of the current paths are arranged on another same plane different from the plane on which the two of the current paths adjacent to each other are arranged.
 35. The manufacturing method for the current detection apparatus according to claim 19, wherein, in the step of arranging each of the current paths, in adjacent two of the current path arrangement positions, each of the magnetic sensors and each of the current paths are arranged alternately on a straight line.
 36. The manufacturing method for the current detection apparatus according to claim 19, wherein, in the step of assigning each of the 2n current paths, currents in adjacent two of the current paths flow in the same direction. 